/* =============================================
   SOCIAL WORK PAGE STYLES - COMPREHENSIVE REDESIGN
   ============================================= */

:root {
    --primary-dark: #1a3948;
    --secondary-dark: #0f2128;
    --accent-orange: #f59834;
    --sage-green: #a1b27e;
    --sage-dark: #92a574;
    --light-bg: #f1e6c7;
    --white: #ffffff;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 15px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* ===================== PAGE HEADER ===================== */

.page-header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
    color: var(--white);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(161, 178, 126, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.page-header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.page-header p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* ===================== MISSION & VALUES SECTION ===================== */

.mission-values-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.section-heading {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 60px;
    font-weight: 700;
    position: relative;
}

.section-heading::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent-orange);
    margin: 15px auto 0;
    border-radius: 2px;
}

.mission-values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.mission-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-left: 5px solid var(--sage-green);
    position: relative;
    overflow: hidden;
}

.mission-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-orange), transparent);
    transition: left 0.6s ease;
}

.mission-card:hover::before {
    left: 100%;
}

.mission-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-left-color: var(--accent-orange);
}

.mission-icon {
    font-size: 2.5rem;
    color: var(--accent-orange);
    margin-bottom: 1.5rem;
}

.mission-card h3 {
    font-size: 1.4rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.mission-card p {
    color: #555;
    line-height: 1.8;
    font-size: 0.95rem;
}

/* ===================== PROGRAMS SECTION ===================== */

.programs-section {
    padding: 80px 0;
    background: var(--white);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.program-item {
    background: linear-gradient(135deg, #f9f9f9 0%, #f1f1f1 100%);
    padding: 2.5rem;
    border-radius: 12px;
    border-top: 4px solid var(--sage-green);
    box-shadow: var(--shadow-md);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.program-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(161, 178, 126, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.program-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%);
    border-top-color: var(--accent-orange);
}

.program-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.program-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--sage-green);
}

.program-header i {
    font-size: 1.8rem;
    color: var(--accent-orange);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(245, 152, 52, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.program-item:hover .program-header i {
    background: rgba(161, 178, 126, 0.2);
    color: var(--sage-green);
    transform: scale(1.1);
}

.program-item h3 {
    font-size: 1.3rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.program-item p {
    color: #555;
    line-height: 1.8;
    font-size: 0.95rem;
}

/* ===================== CAMPAIGNS SECTION ===================== */

.campaigns-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--light-bg) 0%, #e6dcc1 100%);
}

.campaigns-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.campaign-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-top: 5px solid var(--accent-orange);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.campaign-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(245, 152, 52, 0.05) 0%, transparent 100%);
    pointer-events: none;
}

.campaign-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
    border-top-color: var(--sage-green);
}

.campaign-icon {
    font-size: 3rem;
    color: var(--sage-green);
    margin-bottom: 1.5rem;
    display: inline-block;
    width: 70px;
    height: 70px;
    background: rgba(161, 178, 126, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.campaign-card:hover .campaign-icon {
    background: rgba(245, 152, 52, 0.1);
    color: var(--accent-orange);
    transform: rotate(15deg) scale(1.1);
}

.campaign-card h3 {
    font-size: 1.3rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.campaign-card p {
    color: #555;
    line-height: 1.8;
    font-size: 0.95rem;
}

/* ===================== ORGANIZATIONS SECTION ===================== */

.organizations-section {
    padding: 80px 0;
    background: var(--white);
}

.organizations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.org-card {
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-bottom: 4px solid var(--sage-green);
    position: relative;
}

.org-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-bottom-color: var(--accent-orange);
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
}

.org-icon {
    font-size: 2.5rem;
    color: var(--accent-orange);
    margin-bottom: 1rem;
    display: inline-block;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, rgba(161, 178, 126, 0.1), rgba(245, 152, 52, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.org-card:hover .org-icon {
    background: linear-gradient(135deg, rgba(245, 152, 52, 0.2), rgba(161, 178, 126, 0.2));
    color: var(--sage-green);
    transform: scale(1.15) rotate(5deg);
}

.org-card h3 {
    font-size: 1.2rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.org-card p {
    color: #666;
    line-height: 1.7;
    font-size: 0.9rem;
}

/* ===================== IMPACT & ACHIEVEMENTS SECTION ===================== */

.impact-achievements-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.impact-achievements-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(161, 178, 126, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.impact-achievements-section .section-heading {
    color: var(--white);
    position: relative;
    z-index: 1;
}

.impact-achievements-section .section-heading::after {
    background: var(--accent-orange);
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.achievement-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 2px solid rgba(161, 178, 126, 0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.achievement-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-orange);
    transform: translateY(-5px);
}

.achievement-number {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--accent-orange);
    margin-bottom: 0.5rem;
}

.achievement-item p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===================== CALL TO ACTION SECTION ===================== */

.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(161, 178, 126, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(245, 152, 52, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 1rem;
    font-weight: 700;
}

.cta-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    border: 2px solid transparent;
}

.cta-primary {
    background: var(--accent-orange);
    color: var(--white);
}

.cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(245, 152, 52, 0.3);
    background: #ff9d4d;
}

.cta-secondary {
    background: transparent;
    color: var(--accent-orange);
    border: 2px solid var(--accent-orange);
}

.cta-secondary:hover {
    background: var(--accent-orange);
    color: var(--white);
    transform: translateY(-3px);
}

/* ===================== FOOTER ===================== */

.footer {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 50px 0 30px;
    border-top: 3px solid var(--accent-orange);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    font-weight: 700;
}

.footer-section p {
    line-height: 1.7;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section a:hover {
    color: var(--accent-orange);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(161, 178, 126, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--accent-orange);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer-tagline {
    color: var(--accent-orange);
    font-size: 0.95rem;
    font-weight: 600;
}

/* ===================== RESPONSIVE DESIGN ===================== */

@media (max-width: 768px) {
    .page-header {
        padding: 60px 0;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }

    .page-header p {
        font-size: 1rem;
    }

    .section-heading {
        font-size: 2rem;
        margin-bottom: 40px;
    }

    .mission-values-grid,
    .programs-grid,
    .campaigns-grid,
    .organizations-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .mission-card,
    .program-item,
    .campaign-card,
    .org-card {
        padding: 1.5rem;
    }

    .achievements-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-section h2 {
        font-size: 2rem;
    }

    .cta-buttons {
        gap: 1rem;
    }

    .cta-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 2rem;
    }

    .footer-section h4 {
        font-size: 1rem;
        margin-bottom: 1rem;
        border-bottom: 2px solid var(--accent-orange);
        padding-bottom: 0.5rem;
    }

    .footer-section p,
    .footer-section ul li {
        font-size: 0.9rem;
    }

    .footer-social {
        gap: 1rem;
    }

    .footer-bottom {
        padding-top: 1.5rem;
        margin-top: 1.5rem;
    }

    .footer-copyright {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 50px 0;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .section-heading {
        font-size: 1.5rem;
    }

    .mission-values-grid,
    .programs-grid,
    .campaigns-grid,
    .organizations-grid,
    .achievements-grid {
        grid-template-columns: 1fr;
    }

    .mission-card,
    .program-item,
    .campaign-card,
    .org-card {
        padding: 1.2rem;
    }

    .program-header {
        flex-direction: column;
        gap: 0.5rem;
    }

    .cta-section h2 {
        font-size: 1.5rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .cta-btn {
        width: 100%;
    }

    .footer-content {
        gap: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .footer {
        padding: 40px 12px 20px;
    }

    .footer-section h4 {
        font-size: 0.95rem;
        margin-bottom: 0.8rem;
        text-align: center;
        border-bottom: 2px solid var(--accent-orange);
        padding-bottom: 0.4rem;
    }

    .footer-section p,
    .footer-section ul li,
    .footer-section a {
        font-size: 0.85rem;
        text-align: center;
    }

    .footer-section ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-social {
        justify-content: center;
        gap: 0.8rem;
    }

    .footer-social a {
        width: 38px;
        height: 38px;
        font-size: 0.9rem;
    }

    .footer-bottom {
        padding-top: 1.2rem;
        margin-top: 1.2rem;
    }

    .footer-copyright {
        font-size: 0.75rem;
        line-height: 1.3;
    }

    .footer-tagline {
        font-size: 0.85rem;
    }
}
